import request from '@/util/request.js'
export const selectStudentList = function (params = {}) {
  return request.get('/admin/student', {
    params,
  })
}

export const deleteStudentList = function (params = {}) {
  return request.delete('/admin/student', {
    params,
  })
}

export const insertStudent = function (data = {}) {
  return request.post('/admin/student', data)
}

export const updateStudent = function (data = {}) {
  return request.put('/admin/student', data)
}
